<!DOCTYPE html>
<html layout:decorate="admin/layout" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="UTF-8">
  <title>数据字典</title>
</head>
<body>
<div layout:fragment="content">

  <div style="padding: 20px;">
    <form class="layui-form" onclick="return false;">
      <div class="layui-form-item">
        <div class="layui-inline">
          <label class="layui-form-label">类型</label>
          <div class="layui-input-inline">
            <input type="text" name="type" autocomplete="off" class="layui-input">
          </div>
          <button id="btn-query" class="layui-btn search-btn" style="margin-left: 20px;">查询</button>
          <button id="btn-add" class="layui-btn" style="margin-left: 20px;">新增</button>
        </div>
      </div>
    </form>

    <table id="table" lay-filter="table"></table>
  </div>
</div>
<th:block layout:fragment="script">
  <script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-sm" lay-event="edit">编辑</a>
  </script>
  <script type="text/javascript">
    layui.use('sysdic'); //加载入口
  </script>
</th:block>
</body>
</html>